// #ifdef MP-WEIXIN 
// const domain = "https://test.kuaiyingbox.com"; //测试接口域名
// const domainStatic = "https://test.kuaiyingbox.com"//测试静态域名


const domain = "https://kydj.kuaiyingbox.com"; //正式接口域名
const domainStatic = "https://kydj.kuaiyingbox.com"//正式静态域名
// #endif
// #ifdef MP-TOUTIAO
const domain = "https://kydy.kuaiyingbox.com"; //接口域名
const domainStatic = "https://kydy.kuaiyingbox.com"//静态域名
// const domain = "https://test.kuaiyingbox.com"; //接口域名
// const domainStatic = "https://test.kuaiyingbox.com"//静态域名

// #endif

import config from './config.js'
const interfaces = {
  // res_path :'',
  // 上传推广用户信息1
  index: domain + "/user/index",
  // 上传推广用户信息2
  indexs: domain + "/user/indexs",
  // 获取用户信息
  info: domain + "/user/info",
  // 获取小程序openid
  get_openid: domain + "/user/get_openid",
  // 推荐短剧
  recommend :domain + "/playlet/recommend",
  //短剧剧集列表 ？
  episodes_list :domain + "/playlet/episodes_list",
  // 壁纸列表
  wallpaper_list: domainStatic + "/blocks/wallpaper/" + config.applet_id + "_5.json",
  // 广场模块列表
  square_blockList: domainStatic + "/blocks/list/" + config.applet_id + ".json",
  // 广场模块下榜单列表
  square_block_rankinglist: domainStatic + "/blocks/ranking/",
  // 故事详情
  store_details: domainStatic + "/blocks/news_info/",
  // 搜索结果
  search_results: domain + "/search/playlet",
  // 搜索推荐
  search_recommend: domainStatic + "/blocks/hot_broadcast/" + config.applet_id + ".json",
  // 我的列表数据 
  mine_listData: domainStatic + "/blocks/user_icons/" + config.applet_id + ".json",
  // 充值商品
  goos_list: domain + "/recharge/goos_list",
  // 用户点赞历史列表
  user_likeHistory_list: domain + "/user/likes_history",
  // 用户充值记录列表 
  user_rechargeRecord_list: domain + "/user/recharge_log",
  // 福利-签到任务列表
  welfare_signIn_list: domain + "/task/sign_list",
  // 福利-签到
  welfare_signIn: domain + "/task/sign",
  // 福利-任务列表
  welfare_task_list: domain + "/task/list",
  // 福利-任务完成
  welfare_task_finish: domain + "/task/complete",
  // 福利-领取奖励
  welfare_receiveReward: domain + "/task/collect",
  // 用户追剧列表
  user_chase_list: domain + "/user/chasing_playlet",
  // 去充值(安卓)
  buy: domain + "/recharge/buy",
  // 去充值(ios)
  buy_ios: domain + "/recharge/buy_ios",
  // 上传ios，判断支付是否出现
  ios_payment: domain + "/user/ios_payment",
  // 获取虚拟支付签名秘钥
  gei_sign: domain + "/recharge/gei_sign",
  // 获取虚拟支付的订单状态
  order_back: domain + "/recharge/order_back",
  // 检查抖音订单信息
  dycheckorder: domain + "/recharge/dy_check_order",
  // 购买短剧
  buyr: domain + "/playlet/buy",
  // 购买剧集列表
  buy_episodes_list: domain + "/playlet/buy_episodes_list",
  // 系统时间
  sys_time: domainStatic + "/blocks/sys_time.json",
  // 推荐短剧点赞和追剧
  zl_list: domain + "/playlet/zl_list",
  // 同步点赞
  sync_likes: domain + "/playlet/sync_likes",
  // 剧集点赞
  likes: domain + "/playlet/likes",
  // 点赞列表
  likes_list: domain + "/playlet/likes_list",
  // 同步推荐短剧点赞和追剧
  sync_zl_list: domain + "/playlet/sync_zl_list",
  // 追剧列表
  chasing_list: domain + "/playlet/chasing_list",
  // 同步追剧
  sync_chasing: domain + "/playlet/sync_chasing",
  // 获取客服图片
  customerImg: domainStatic + "/blocks/customer/" + config.applet_id + ".json",
  // 赠送币
  give_coin: domain + "/playlet/give_coin",
  // 观看记录
  view_records: domain + "/playlet/view_records"
};
module.exports = interfaces;
